ad.sleep          	      package:adGol        		        R Documentation

Sleeps During a Specifid Amount of Time

Description:

	A function that waits the time to pass.

Usage:

	ad.sleep(x)

	## No default is specified

Arguments:

	x: The amount of time in seconds the function must wait before returning control.

Details:
	
	This function uses the R function Sys.time to get the time at the begining of the process, then enter a loop that checks if the desired time interval has passed and terminates if so.

Value:

	This function has no return value.

Author(s):

	Ademar Marques Lacerda Filho

See Also:

	'ad.sleep.gc'.

Examples:

	# Sleeps for a quarter of second
	ad.sleep(0.25)
	
	# Sleeps for two seconds
	ad.sleep(2)

	# Sleeps for an hour
	ad.sleep(3600)
